﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ZhiJiao.Models.Entities;
using ZhiJiao.Models.Entities.Enums;
using ZhiJiao.Service.Dto;

namespace ZhiJiao.Service.Abstracts
{
    public interface IRoleService
    {
        /// <summary>
        ///  获取角色列表 
        /// </summary>
        BackJson GetRoleList(RoleType roleType, string roleName,long? instructionId);

        Task<BackJson> AddSubmit(AddRloeDto model);

        Task<BackJson> SubmitEdit(AddRloeDto model);

        Task<BackJson> Delete(string Id);

        Task<BackJson> GetRole(string Id);

        Task<BackJson> GetModules(RoleType type);
    }
}
